package com.guijq.selfcode.javase;

/**
 * @author yangjf
 * @time 2019-06-17 8:26
 */
public class Test1 {
    static {
        x = 5;
    }

    static int x, y;

    public static void main(String args[]) {
        x--;
        myMethod();
        System.out.println(x + y + ++x);
    }

    public static void myMethod() {
        y = (x++)+(++x);
    }

}
